CFLAGS = -std=c99 -pedantic -Wextra -g
SUPERSERVER_OBJS = service.o daemon.o server.o main.o

superserver: $(SUPERSERVER_OBJS)
	$(CC) $(CFLAGS) -o superserver $(SUPERSERVER_OBJS)
main.o : main.c
service.o : service.c
server.o : server.c service.c
daemon.o : daemon.c server.c service.c

clean:
	-rm superserver $(SUPERSERVER_OBJS)

